package Extend;

public class test3 {
    public static void main(String[] args) {
        testDemo t=new testDemo();
        System.out.println("----------------");
        testDemo t1=new testDemo();
    }
}
class testDemo{
    public testDemo(){
        System.out.println("这是构造方法");
    }
    {
        System.out.println("这是实例代码块");
    }
    static {
        System.out.println("这是静态代码块");
    }
}
